package com.aaa.phone.service.storeservice;

import com.aaa.entity.AppSecondStore;

import java.util.List;
import java.util.Map;

/**
 * @program: battery
 * @description: 商城及二手市场
 * @author: liangyongzhen
 * @create: 2018-12-19 20:47
 **/
public interface StoreService {

    //新电动车查询
    List<Map> getAllCarInfo();
    List<Map> getCarInfoById(Integer id);

    //查询一些数据用于预览
    List<Map> getSomeInfo();

    //配件的查询
    List<Map> getAllPartsInfo();
    List<Map> getPartInfoById(Integer id);

    //添加二手电动车
    void addSecondCarInfo(AppSecondStore secondHandCar);

    //查询二手车信息
    List<AppSecondStore> getAllSecondCarInfo();

    //根据手机号查询二手车
    List<AppSecondStore> getSecondCarInfoByTel(String telephone);
}
